package com.wsq.nutz;



import org.nutz.integration.shiro.ShiroSessionProvider;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.SessionBy;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.ioc.provider.ComboIocProvider;
@SessionBy(ShiroSessionProvider.class)
@SetupBy(value=MainSetup.class)
@IocBy(type=ComboIocProvider.class, args={"*js", "ioc/",
    "*anno", "com.wsq.nutz",
    "*tx", // 事务拦截 aop
    "*async"}) // 异步执行aop

//声明应用的所有子模块(目录在其下)注解自动扫描
@Modules(scanPackage = true)
public class MainModule {
  
}
